
FAMILY = STM8L15x
family = stm8l15x

PWD = $(FAMILY)_StdPeriph_Driver
_SRC_DIR = $(PWD)/src

SRC_DIRS += $(_SRC_DIR)
INCS += $(PWD)/inc

_SRCS :=
_SRCS += $(family)_adc.c
_SRCS += $(family)_clk.c
_SRCS += $(family)_dma.c
_SRCS += $(family)_exti.c
_SRCS += $(family)_flash.c
_SRCS += $(family)_gpio.c
_SRCS += $(family)_iwdg.c
_SRCS += $(family)_rst.c
_SRCS += $(family)_rtc.c
_SRCS += $(family)_spi.c
_SRCS += $(family)_tim1.c
_SRCS += $(family)_tim2.c
_SRCS += $(family)_tim3.c
_SRCS += $(family)_tim4.c
_SRCS += $(family)_tim5.c
_SRCS += $(family)_usart.c
_SRCS += $(family)_wfe.c
_SRCS += $(family)_syscfg.c
_SRCS += $(family)_pwr.c
_SRCS += $(family)_lcd.c


SRCS += ${addprefix $(_SRC_DIR)/, $(_SRCS)} 
